package com.tengfei.main.gp;

/**
 * @author feige
 * @version v1.0
 * @date 2023-01-20-23:23
 * @description
 */
public class Demo {

    public static void main(String[] args) {
        Node<String, Integer> node = new Node<String, Integer>();


    }

}


// 这里不一定要用K,V，也可以用其它字母
class Node<K,V>{
    K key;

    V value;

    public K getKey() {
        return key;
    }

    public void setKey(K key) {
        this.key = key;
    }

    public V getValue() {
        return value;
    }

    public void setValue(V value) {
        this.value = value;
    }
}

class A{}

class B extends A{

}
class C{

}
